package com.example.springbootdemo.dao;


import com.example.springbootdemo.po.Dept;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 *部门管理接口
 * 必须一致，包括id，参数，返回值
 */
@Mapper
public interface DeptDao {
    public Long queryCount();
    public List<Dept> queryEmpDept();
    public List<Dept> queryDept(Dept dept);

    public void addDept(Dept dept);
    public void updateDept(Dept dept);
    public void delDept(Integer deptNo);
}
